cmake_minimum_required(VERSION 3.23)
project(CppTest-coroutine)

set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_C_STANDARD 17)
set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_C_EXTENSIONS OFF)

add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/utf-8>")

add_executable(coroutine01 coroutine01.cpp)
add_executable(coroutine02 coroutine02.cpp)
add_executable(coroutine_fibonacci fibonacci.cpp)
add_executable(even_list even_list.cpp)

